<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>登陆界面</title>
		<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/css/login.css" />
		<script language="JavaScript"
			src="${pageContext.request.contextPath}/js/validate.js"></script>
		<script language="javascript">
		function validate(){	
			var username = document.getElementById("username");
			var password = document.getElementById("password");
			
			if(!isNotNull(username,'用户')||!f_check_ZhOrNumOrLett(username,'用户'))
				return false ;	
			if(!(isNotNull(password,'密码')&&f_check_NumOrLett(password,'密码')&&f_check_passwordLength(password,'密码',4,8)))
				return false ;	
		} 
		</script>
	</head>
	<body>
		<div id="top" align="right">
			<table cellspacing=0 cellpadding=0>
				<tr valign=top>
					<td width="100px">

					</td>
					<td>

						&nbsp;&nbsp;&nbsp;
					</td>
					<td>
						&nbsp;&nbsp;
						<img
							src="${pageContext.request.contextPath}/images/BTN_BASE_USER.gif"
							height=18px class="xiaotubiao" />
					</td>
					<td width="40px">
						<span>关于</span>
					</td>
					<td>
						&nbsp;&nbsp;
						<img src="${pageContext.request.contextPath}/images/help.gif"
							class="xiaotubiao" />
					</td>
					<td width="40px">
						<span>帮助</span>
					</td>
					<td width="30px">&nbsp;</td>
				</tr>
			</table>
		</div>
			<s:form action="login" onsubmit="return validate()" cssClass="form">
			<div id="login">
				
				<table border=0px cellpadding=4px>
					<!--
				<tr>
					<td width="100px">
						 帐&nbsp;&nbsp;套 
					</td>
					<td colspan="2" width="200px">
						<select size="1" style="width: 200px; height: 34x;">
							<option>
								&nbsp;
							</option>
							<option>
								phi
							</option>
							<option>
								系统管理
							</option>
						</select>
					</td>
					<td></td>
				</tr>
			
				
				<tr height="25px">
					<td>
				公&nbsp;&nbsp;司
				</td>
				<td align=left colspan="2" >
					<div id="border" height="30px">
						<div height="20px" style="float:left;">
							<input type=text  style="border:0; height:16px;" size="24">
						</div>
						<input type="image" src="../images/lookup.gif" id="find" onclick="showCompany()" onFocus="this.blur()" onmouseover="this.className='mainhover'" onmouseout="this.className=''">
					</div>
				</td>
				<td rowspan="5" valign="top">
						<div id="company">
							<div width=100% align="right">
								<input type="image" src="../images/close.gif" onclick="showCompany()">
							</div>
							<div>
							</div>
							<div>
							</div>
						</div>
					</td>
				</tr>
				-->
					<tr>
						<td>
							用&nbsp;&nbsp;户
						</td>
						<td colspan="2">
							<input id="username" name="username" type="text" value=""
								 style="height: 22px;" class="jf_srk" size="20"/>
						</td>
					</tr>
					<tr>
						<td>
							密&nbsp;&nbsp;码
						</td>
						<td colspan="2">
							<input id="password" name="password" type="password" value=""
								 style="height: 22px;" class="jf_srk" size="20"/>
						</td>  
					</tr>

					<tr>
						<td>
							&nbsp;
						</td>
						<td align="left" width="100px">
							<input id="land" name="land" type="submit" onFocus="this.blur()"
								onmouseover="this.className='loginbtnover'"
								onmouseout="this.className='loginbtnout'" class="loginbtnsize"
								value="&nbsp;登&nbsp;&nbsp;陆&nbsp;" />
						</td>
						<td>
							<input id="option" name="option" type="button"
								onFocus="this.blur()"
								onmouseover="this.className='loginbtnover'"
								onmouseout="this.className='loginbtnout'" class="loginbtnsize"
								value="&nbsp;选&nbsp;&nbsp;项&nbsp;" />
						</td>
					</tr>
					<tr>
					</tr>
				</table>
				
			</div>
			</s:form>
	</body>
</html>